<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="./jquery-1.11.1.js"></script>
</head>

<body>
    <div id="liyunlong">你真是个天才！</div>
</body>

</html>
<script>
    var tools = {
        setColor: function (a) {
            $('#liyunlong').css('color', a)
            return this;
        },
        setFontSize: function (a) {
            $('#liyunlong').css('font-size', a + 'px')
            return this;
        },
        click: function (a) {
            alert(a)
            return this;
        }
    }

    $('#liyunlong').click(function () {
        tools.setColor('red').setFontSize('30').click('你呀，总能给我整点花样')
    })  
</script>